.SUFFIXES: .C

XHOME=/home/europa/packages/openwin
CCFLAGS = -I..
ETCC    = etCC

.C.o:
	$(ETCC) $(CCFLAGS) -I$(XHOME)/include -c $<

OFILES  = \
	XBitmap.o \
	XFont.o \
	XWinSystem.o \
	XIAC.o \
	XColorMap.o \
	XWindowPort.o

all:    xwindow.o

xwindow.o:   $(OFILES)
	$(ETCC) -L$(XHOME)/lib -r -o xwindow.o $(OFILES) -lX11

XWindow.ph: XWindow.C
	echo "/* precompiled headers not available */" > XWindow.ph  

#-------------------------------------------------------------------------------

depend:
	makedep -I.. -I../CONTAINER *.[cC]

clean:
	-rm -f core $(OFILES)

clobber:    clean
	-rm -f xwindow.o XWindow.ph Makefile.bak *.orig .MAP/*

touch:
	$(MAKE) -t


# DO NOT DELETE THIS LINE -- make depend depends on it.

XBitmap.o: XWindow.ph X11.h ../Port.h ../Types.h ../Object.h ../Storage.h
XBitmap.o: ../Point.h ../Rectangle.h ../Metric.h ../Font.h ../CType.h
XBitmap.o: ../FontEncoding.h ../RefCounted.h ../Ink.h ../Bitmap.h ../Token.h
XBitmap.o: XBitmap.h ../DevBitmap.h XWinSystem.h ../WindowSystem.h
XBitmap.o: ../Symbol.h XWindowPort.h ../WindowPort.h ../String.h
XColorMap.o: XWindow.ph XColorMap.h X11.h ../WindowColorMap.h ../RefCounted.h
XColorMap.o: ../Object.h ../Types.h ../Storage.h ../Ink.h ../Math.h ../Env.h
XColorMap.o: ../Symbol.h ../Rectangle.h ../Point.h XWinSystem.h
XColorMap.o: ../WindowSystem.h ../Port.h ../Metric.h ../Font.h ../CType.h
XColorMap.o: ../FontEncoding.h ../Bitmap.h ../Token.h XWindowPort.h
XColorMap.o: ../WindowPort.h XBitmap.h ../DevBitmap.h
XFont.o: XWindow.ph XFont.h X11.h ../Font.h ../Object.h ../Types.h
XFont.o: ../Storage.h ../Rectangle.h ../Point.h ../Metric.h ../CType.h
XFont.o: ../FontEncoding.h ../RefCounted.h XWinSystem.h ../WindowSystem.h
XFont.o: ../Port.h ../Ink.h ../Bitmap.h ../Token.h ../Symbol.h ../String.h
XFont.o: ../Error.h XBitmap.h ../DevBitmap.h
XIAC.o: XWindow.ph XIAC.h X11.h ../IAC.h ../SysEvtHandler.h ../Object.h
XIAC.o: ../Types.h ../Storage.h ../String.h ../CType.h ../FontEncoding.h
XIAC.o: ../RefCounted.h ../System.h ../Time.h ../Main.h
XIAC.o: ../CONTAINER/OrdColl.h ../CONTAINER/SeqColl.h
XIAC.o: ../CONTAINER/Collection.h ../CONTAINER/Container.h
XIAC.o: ../CONTAINER/Iterator.h ../Timer.h XWinSystem.h ../WindowSystem.h
XIAC.o: ../Port.h ../Point.h ../Rectangle.h ../Metric.h ../Font.h ../Ink.h
XIAC.o: ../Bitmap.h ../Token.h ../Symbol.h
XWinSystem.o: XWindow.ph XWinSystem.h X11.h ../WindowSystem.h ../Port.h
XWinSystem.o: ../Types.h ../Object.h ../Storage.h ../Point.h ../Rectangle.h
XWinSystem.o: ../Metric.h ../Font.h ../CType.h ../FontEncoding.h
XWinSystem.o: ../RefCounted.h ../Ink.h ../Bitmap.h ../Token.h ../Symbol.h
XWinSystem.o: ../Class.h ../String.h ../CONTAINER/OrdColl.h
XWinSystem.o: ../CONTAINER/SeqColl.h ../CONTAINER/Collection.h
XWinSystem.o: ../CONTAINER/Container.h ../CONTAINER/Iterator.h ../Error.h
XWinSystem.o: ../Data.h ../ClipBoard.h ../System.h ../Time.h ../Main.h
XWinSystem.o: ../Env.h XWindowPort.h ../WindowPort.h XBitmap.h ../DevBitmap.h
XWinSystem.o: XFont.h XIAC.h ../IAC.h ../SysEvtHandler.h XColorMap.h
XWinSystem.o: ../WindowColorMap.h
XWindow.o: X11.h ../Class.h ../Object.h ../Types.h ../Storage.h ../String.h
XWindow.o: ../CType.h ../FontEncoding.h ../RefCounted.h
XWindow.o: ../CONTAINER/OrdColl.h ../CONTAINER/SeqColl.h
XWindow.o: ../CONTAINER/Collection.h ../CONTAINER/Container.h
XWindow.o: ../CONTAINER/Iterator.h ../Math.h ../Env.h ../Symbol.h
XWindow.o: ../Rectangle.h ../Point.h ../Error.h ../Data.h ../ClipBoard.h
XWindow.o: ../System.h ../Time.h ../Main.h ../Window.h ../Clipper.h
XWindow.o: ../VObject.h ../Port.h ../Metric.h ../Font.h ../Ink.h ../Bitmap.h
XWindow.o: ../Token.h ../EvtHandler.h ../Command.h ../CmdNo.h
XWindow.o: ../WindowSystem.h ../Manager.h ../Look.h ../Layout.h ../Timer.h
XWindow.o: ../SysEvtHandler.h
XWindowPort.o: XWindow.ph XWindowPort.h X11.h ../WindowPort.h
XWindowPort.o: ../WindowSystem.h ../Port.h ../Types.h ../Object.h
XWindowPort.o: ../Storage.h ../Point.h ../Rectangle.h ../Metric.h ../Font.h
XWindowPort.o: ../CType.h ../FontEncoding.h ../RefCounted.h ../Ink.h
XWindowPort.o: ../Bitmap.h ../Token.h XWinSystem.h ../Symbol.h XBitmap.h
XWindowPort.o: ../DevBitmap.h ../Class.h ../String.h XFont.h ../Window.h
XWindowPort.o: ../Clipper.h ../VObject.h ../EvtHandler.h ../Command.h
XWindowPort.o: ../CmdNo.h ../CONTAINER/Container.h ../CONTAINER/Iterator.h
XWindowPort.o: ../Manager.h ../Look.h ../Layout.h ../Timer.h
XWindowPort.o: ../SysEvtHandler.h ../Time.h ../System.h ../Main.h XColorMap.h
XWindowPort.o: ../WindowColorMap.h
